<div class="page-content">
<section class="errormsgDiv"   v-if="nodata">
    <p class="errormsg">\（￣︶￣）/</p>
    <p class="errormsg2">您还没有创建会员卡哦</p>
 </section>
<div v-else  v-for="cardInfo in items">
    <div class="item"  style="margin-bottom:0px" >
		    <div class="logo"><img :src="store.logo"></div>
		    <div class='light'>{{cardInfo.config.base_info.brand_name}}</div>
		    <div class='title mgt10'>{{cardInfo.config.base_info.title}}</div>
		    <div class='info light' > {{cardInfo.time_limit_str}} </div>
		    <div class="">
		    	  <router-link :to="{ name: 'cardDetail', params: { id: cardInfo.cardId }}"  class="btn btn2">投放</router-link>

		    	  <div v-on:click="more($event)"   :data-id="cardInfo.id" :data-appid="cardInfo.appid"  :data-card_id="cardInfo.cardId"  class="btn btn3" >设置</div>
		    </div>
		   
		    <div class='info light'>{{cardInfo.config.base_info.description}}</div>
		     <div class='info light'>{{cardInfo.config.prerogative}}</div>

   </div>
    <div class="detailBox" v-if="memberCardDetail">
		   <!--  <div>会员总数</div>
		    <div>90</div> -->
		    <ul class="table-li" >
		    	<li>
		    		<p class="light">新用户数<p>
		    		<p>{{memberCardDetail.new_user}}</p>
		    	</li>
		    	<li>
		    		<p class="light">会员总数<p>
		    		<p>{{memberCardDetail.total_user}}</p>
		    	</li>
		    	<li>
		    		<p class="light">浏览人数<p>
		    		<p>{{memberCardDetail.view_user}}</p>
		    	</li>
		    	<div class="clear"></div>
		    </ul>
		    <router-link class="color_0" :to="{ name: 'memberList', params: { card_id: cardInfo.cardId }}">查看会员</router-link>
	</div> 
	 <div class="detailBox" v-else>
	    <router-link class="color_0" :to="{ name: 'memberList', params: { card_id: cardInfo.cardId }}">查看会员</router-link>
	</div>
</div>		      
  <div style="height: 80px"></div>

 <router-link v-if="showAddMemberCard"  :to="{ name: 'chooseAppid', params: { type: 'addMemberCard' }}"     class="btn w100 fixBox">创建会员卡</router-link>
    
   

</div>
